package top.lishou.learnplat.mapper;

import top.lishou.learnplat.entity.Message;
import top.lishou.learnplat.entity.Senior;

import java.util.List;

public interface SeniorMapper {
    Senior selectById(Integer id);
    /**
     * Description : 根据指定身份id进行商品查询
     **/
    List<Senior> selectBySchool(String school);
    int insertMessage(Message message);
    List<Message> selectMessagesBySeniorId(Integer id);
}